package com.cn.crmsystem.service.businessService;

import com.cn.crmsystem.pojo.Activity;
import com.cn.crmsystem.pojo.Contract;
import com.cn.crmsystem.pojo.Login;
import com.cn.crmsystem.pojo.ResultJson;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface ActivityService {


    ResultJson selectActivityAll(Map map);

    ResultJson selectByIdActivity(Integer id);

    ResultJson addActivity(Activity activity, Login login);

    ResultJson updateByIdActivity(Integer id);

    ResultJson deleteByIdActivity(Integer id);

    ResultJson updateByIdActivity_introduce1(Integer id);

    ResultJson updateByIdActivity_introduce2(Integer id);
}
